Skip to content

Drop Python 3.9 support and add Python 3.14 - #143

Open
dumitrugutu wants to merge 1 commit into
mainfrom
chore/drop-python-3.9
Open

dumitrugutu wants to merge 1 commit into
mainfrom
chore/drop-python-3.9

Conversation

@dumitrugutu

@dumitrugutu dumitrugutu commented Nov 5, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Drop Python 3.9 (EOL Oct 2025): requires-python >=3.10 in all SDKs.
  • Add Python 3.14 (latest stable) and the missing 3.13 classifier; CI and release matrices now cover 3.10–3.14.
  • Modernize syntax that 3.9 blocked: Optional/Union → X | Y, Callable from collections.abc. Enabled ruff UP007 and removed keep-runtime-typing.
  • Move black/ruff/mypy/pre-commit targets to py310; update README badges, RELEASE.md and issue templates.
  • Unpin CI runner back to ubuntu-latest (the ubuntu-24.04 pin from Pin matrix CI jobs to ubuntu-24.04 and disable fail-fast #142 was only needed for 3.9; 26.04 has builds for 3.10–3.14).

Python 3.9 reached end of life in October 2025 and accounts for <0.1%
of PyPI downloads for speechmatics-rt, -batch and -voice over the last
30 days.

- Require Python >=3.10 in all SDKs; add 3.13 and 3.14 classifiers
- Test and release against 3.10-3.14 in CI
- Move black/ruff/mypy/pre-commit targets to py310
- Replace Optional/Union with X | Y and import Callable from
  collections.abc (enable ruff UP007, drop keep-runtime-typing)
- Update README badges, RELEASE.md and issue templates
- Unpin the CI runner back to ubuntu-latest; the ubuntu-24.04 pin was
  only needed because 26.04 has no Python 3.9 build
@dumitrugutu
dumitrugutu added this pull request to stack #145 November 5, 2026 16:42

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant